package org.elasticsearch.index.analysis;

import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.inject.assistedinject.Assisted;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.Index;

public class LbhAnalyzerProvider extends AbstractIndexAnalyzerProvider<LbhAnalyzer>{

	private final LbhAnalyzer analyzer;
	@Inject
	public LbhAnalyzerProvider(Index index, Settings indexSettings, Environment env, @Assisted String name,
			Settings settings) {
		super(index, indexSettings, name, settings);
		System.out.println("LbhAnalyzerProvider.name: "+name);
		analyzer=new LbhAnalyzer(indexSettings,settings);
	}

	@Override
	public LbhAnalyzer get() {
		// TODO Auto-generated method stub
		return this.analyzer;
	}
	

}
